package com.jin.webvideo.util.entity;


import com.jin.webvideo.externalInterfaces.entity.FilmographyInfo;

public class VideoInfoBuilder {
    private FilmographyInfo filmographyInfo = new FilmographyInfo();

    public VideoInfoBuilder setDate(String date) {
        filmographyInfo.setDate(date);
        return this;
    }

    public VideoInfoBuilder setDesc(String desc) {
        filmographyInfo.setDesc(desc);
        return this;
    }

    public VideoInfoBuilder setId(String id) {
        filmographyInfo.setId(id);
        return this;
    }

    public VideoInfoBuilder setPlatform(String platform) {
        filmographyInfo.setPlatform(platform);
        return this;
    }

    public VideoInfoBuilder setUrl(String url) {
        filmographyInfo.setUrl(url);
        return this;
    }

    public VideoInfoBuilder setNumber(Integer number) {
        filmographyInfo.setNumber(number);
        return this;
    }

    public VideoInfoBuilder setTitle(String title) {
        filmographyInfo.setTitle(title);
        return this;
    }

    public FilmographyInfo build(){
        return this.filmographyInfo;
    }
}
